Optimal. Leaf size=22 \[ -x^{-1-n p q} \left (a \left (b x^n\right )^p\right )^q \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 22, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.095, Rules used = {1971, 30}
\begin {gather*} -x^{-n p q-1} \left (a \left (b x^n\right )^p\right )^q \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 30
Rule 1971
Rubi steps
\begin {align*} \int x^{-2-n p q} \left (a \left (b x^n\right )^p\right )^q \, dx &=\left (x^{-n p q} \left (a \left (b x^n\right )^p\right )^q\right ) \int \frac {1}{x^2} \, dx\\ &=-x^{-1-n p q} \left (a \left (b x^n\right )^p\right )^q\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 22, normalized size = 1.00 \begin {gather*} -x^{-1-n p q} \left (a \left (b x^n\right )^p\right )^q \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.20, size = 23, normalized size = 1.05
method | result | size |
gosper | \(-x^{-n p q -1} \left (a \left (b \,x^{n}\right )^{p}\right )^{q}\) | \(23\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.35, size = 16, normalized size = 0.73 \begin {gather*} -\frac {e^{\left (p q \log \left (b\right ) + q \log \left (a\right )\right )}}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 6.25, size = 19, normalized size = 0.86 \begin {gather*} - \frac {x^{- n p q} \left (a \left (b x^{n}\right )^{p}\right )^{q}}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.45, size = 18, normalized size = 0.82 \begin {gather*} -x e^{\left (p q \log \left (b\right ) + q \log \left (a\right ) - 2 \, \log \left (x\right )\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.01, size = 23, normalized size = 1.05 \begin {gather*} -\frac {{\left (a\,{\left (b\,x^n\right )}^p\right )}^q}{x^{n\,p\,q+1}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________